package com.yuntai.pms.model.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class HospitalAdmin implements Serializable {

	private static final long serialVersionUID = 2104504681232885068L;

	private Long mngId; 		// 管理员id
	private String mngName; 	// 管理员账户
	private String password; 	// 管理员密码
	private String email; 		// e-mail邮箱
	private String phoneNo; 	// 手机号码
	private String isBlock; 	// 是否锁定，0:活动;1:锁定;-1:永久锁定(相当账户删除)
	private Integer isFirst;	// 是否为第一次登录
	private Long hosId; 		// 医院ID
	private String roleType; 	// 角色类型
	private String roleDesc; 	// 角色描述
	private String realName; 	// 管理员真实姓名
	private String remark; 		// 备注
	private Date lastLoginTime; // 上一次登录时间
	private Long sectId; 	// 科室ID
	private String isDeleted; 	// 删除标示，N-未删除 Y-已删除

	private Date createTime; 	// 创建时间
	private Date updateTime; 	// 修改时间
	private Integer hosType;

	private String refundPassword; //退款密码

	private String hosName;		// 医院名称

	private String prdCode;
	private Date lastFailTime;//最后登录失败时间
	private Integer failTimes;//登录失败次数
	private Date pwdDate;//找回密码的申请时间
	private String verifyToken;//校验令牌-重置密码邮件

	private Long deptId;        //门诊ID

     /*********标签权限 start**************/
	private List<Long> deptIdList;   // 角色包含的dapt_id

	private String roleTag; //  `tag_level` char(1) NOT NULL COMMENT '标签级别（0-代表医院级别，1-代表科室级别，2-其他级别）',

	public List<Long> getDeptIdList() {
		return deptIdList;
	}

	public void setDeptIdList(List<Long> deptIdList) {
		this.deptIdList = deptIdList;
	}

	public String getRoleTag() {
		return roleTag;
	}

	public void setRoleTag(String roleTag) {
		this.roleTag = roleTag;
	}

	/*********标签权限 end******************/



	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public Date getPwdDate() {
		return pwdDate;
	}

	public void setPwdDate(Date pwdDate) {
		this.pwdDate = pwdDate;
	}

	public String getVerifyToken() {
		return verifyToken;
	}

	public void setVerifyToken(String verifyToken) {
		this.verifyToken = verifyToken;
	}

	public Date getLastFailTime() {
		return lastFailTime;
	}

	public void setLastFailTime(Date lastFailTime) {
		this.lastFailTime = lastFailTime;
	}

	public Integer getFailTimes() {
		return failTimes;
	}

	public void setFailTimes(Integer failTimes) {
		this.failTimes = failTimes;
	}

	public String getRefundPassword() {
		return refundPassword;
	}

	public void setRefundPassword(String refundPassword) {
		this.refundPassword = refundPassword;
	}

	public String getPrdCode() {
		return prdCode;
	}

	public void setPrdCode(String prdCode) {
		this.prdCode = prdCode;
	}

	public String getHosName() {
		return hosName;
	}

	public void setHosName(String hosName) {
		this.hosName = hosName;
	}

	public Integer getHosType() {
		return hosType;
	}

	public void setHosType(Integer hosType) {
		this.hosType = hosType;
	}

	public Long getMngId() {
		return mngId;
	}

	public void setMngId(Long mngId) {
		this.mngId = mngId;
	}

	public String getMngName() {
		return mngName;
	}

	public void setMngName(String mngName) {
		this.mngName = mngName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getIsBlock() {
		return isBlock;
	}

	public void setIsBlock(String isBlock) {
		this.isBlock = isBlock;
	}

	public Integer getIsFirst() {
		return isFirst;
	}

	public void setIsFirst(Integer isFirst) {
		this.isFirst = isFirst;
	}

	public Long getHosId() {
		return hosId;
	}

	public void setHosId(Long hosId) {
		this.hosId = hosId;
	}

	public String getRoleType() {
		return roleType;
	}

	public void setRoleType(String roleType) {
		this.roleType = roleType;
	}

	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Long getSectId() {
		return sectId;
	}

	public void setSectId(Long sectId) {
		this.sectId = sectId;
	}

	public String getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
